namespace Marc.JwOrgClient.Util {
    using Marc.JwOrgClient.Model;

    internal class FlatNamingStrategy : IPodcastNamingStrategy {
        public string GetDirectoryPath(string rootPath, PodcastMagazine magazine) {
            return rootPath;
            
        }

        public string GetFileName(PodcastMagazine magazine, PodcastMagazineChapter chapter) {
            return chapter.Filename;
        }

        public string Name { get { return @"Alles in einen Ordner"; } }
    }
}